package com.xk857.feign;

import com.xk857.feign.req.UserInfoREQ;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author CV大魔王
 * @Description 论坛微服务 Feign 接口
 * @date 2021/2/26 11:19
 */
@FeignClient(value = "xk857-forum", path = "/forum")
public interface IFeignForumController {

    @ApiOperation("Feign接口-更新话题表和回答表中的用户信息")
    @PutMapping("/pri/feign/question/user")
    boolean updateUserInfo(@RequestBody UserInfoREQ req);

}
